﻿@model System.Data.DataTable
@using CMSMVC4.MultiResource
@{
    Layout = null;
}

<div class="box paint">

    <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
        <div class="modal-header">
            <button type="button" class="close1" data-dismiss="modal" aria-hidden="true">×</button>
            <h4>Modal header</h4>
        </div>
        <div class="modal-body">
            <div class="content">
                <div class="form-row control-group row-fluid">
                    <label class="control-label span3">@Admin.CustomerName<span class="help-block">@Admin.CompanyMess</span> </label>
                    <div class="controls span7">
                        <input type="text" value="@ViewBag.Data["Name"].ToString()" class="span12" readonly="readonly"/>
                        @*@Html.ValidationMessageFor(x => x.Company)*@
                    </div>
                </div>
                <div class="form-row control-group row-fluid">
                    <label class="control-label span3">@Admin.Email<span class="help-block">@Admin.EmailMess</span> </label>
                    <div class="controls span7">
                        <input type="text" value="@ViewBag.Data["Email"].ToString()" class="span12" readonly="readonly"/>
                        @*@Html.ValidationMessageFor(x => x.Company)*@
                    </div>
                </div>
                 <div class="form-row control-group row-fluid">
                    <label class="control-label span3">@Admin.Phone<span class="help-block">@Admin.PhoneMess</span> </label>
                    <div class="controls span7">
                        <input type="text" value="@ViewBag.Data["Phone"].ToString()" class="span12" readonly="readonly"/>
                        @*@Html.ValidationMessageFor(x => x.Company)*@
                    </div>
                </div>
                <div class="form-row control-group row-fluid">
                    <label class="control-label span3">@Admin.Subject<span class="help-block">@Admin.Subject</span> </label>
                    <div class="controls span7">
                        <input type="text" value="@ViewBag.Data["Subject"].ToString()" class="span12" readonly="readonly"/>
                        @*@Html.ValidationMessageFor(x => x.Company)*@
                    </div>
                </div>
                <div class="form-row control-group row-fluid">
                    <label class="control-label span3">@Admin.Content<span class="help-block">@Admin.Content</span> </label>
                    <div class="controls span7">
                        <textarea class="row-fluid" rows="5" readonly="readonly">@ViewBag.Data["Message"].ToString()</textarea>
                        @*@Html.ValidationMessageFor(x => x.Company)*@
                    </div>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <a href="#" class="btn" onclick="hide()">Close</a>
        </div>
    </div>
</div>

<script>
    $('.close1').click(function (e) {
        //hủy bỏ các link liên kết,"bỏ dấu #"
        //$("#myModal").addClass("hidden");
        e.preventDefault();
        //đóng thẻ dialog
        $("#dialog").fadeOut(500);
        //đóng thẻ nền dialog
        $("#dialog_nen").fadeOut(500);
    });
</script>
